//
//  AboutCarViewController.m
//  JxCarios
//
//  Created by xcq on 15/3/9.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "AboutCarViewController.h"
#import "UIViewController+HttpRequest.h"
@interface AboutCarViewController ()

@end

@implementation AboutCarViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //：
     
    
    [_phone addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(callPhone)]];
    _phone.userInteractionEnabled = YES;
//    [_webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"www.hao123.com"]]];
//    _webView.scalesPageToFit = YES;
//    _webView.scrollView.showsHorizontalScrollIndicator = NO;
//    _webView.scrollView.showsVerticalScrollIndicator = NO;
//    [self showNavBarWithRightTitle:nil andRightAction:nil andLeftAction:nil andCustom:NO];
    [self setTitle:@"关于车联"];
    [self showNavBarWithRightTitle:nil andRightAction:nil andLeftAction:nil andCustom:NO];
}

- (void)callPhone {
    [Common callPhone:@"0791-961111" andControl:self.view];
}

- (void)viewWillAppear:(BOOL)animated {
    self.tabBarController.tabBar.hidden = YES;
    UIView *btn = (UIView *)[self.tabBarController.view  viewWithTag:400];
    btn.hidden = YES;
}

- (void)viewWillDisappear:(BOOL)animated {
    self.tabBarController.tabBar.hidden = NO;
    UIView *btn = (UIView *)[self.tabBarController.view  viewWithTag:400];
    btn.hidden = NO;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
